package com.woniuxy.company5.service.impl;

import com.woniuxy.company5.entity.RepWait;
import com.woniuxy.company5.mapper.RepWaitMapper;
import com.woniuxy.company5.service.RepWaitService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RepWaitServiceImpl implements RepWaitService {
    @Resource
    private RepWaitMapper repWaitMapper;

    @Override
    public List<RepWait> selAllWaitReps() {
        return repWaitMapper.selAllWaitReps();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return repWaitMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RepWait record) {
        return repWaitMapper.insert(record);
    }

    @Override
    public int insertSelective(RepWait record) {
        return repWaitMapper.insertSelective(record);
    }

    @Override
    public RepWait selectByPrimaryKey(Long id) {
        return repWaitMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(RepWait record) {
        return repWaitMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(RepWait record) {
        return repWaitMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<RepWait> selWaitRepByType(String type) {

        return repWaitMapper.selWaitRepByType(type);
    }

    @Override
    public RepWait selWaitRepByNum(String num) {
        return repWaitMapper.selWaitRepByNum(num);
    }

    @Override
    public int updateByNum(RepWait record) {
        return repWaitMapper.updateByNum(record);
    }


}
